package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class RunfastWithdrawrecord implements Serializable {
    private Integer id;

    private Date acctdate;

    private Integer businessid;

    private String businessname;

    private Date createtime;

    private Integer wid;

    private BigDecimal withdrawnumber;

    private Integer agentid;

    private String agentname;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastWithdrawrecord withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getAcctdate() {
        return acctdate;
    }

    public RunfastWithdrawrecord withAcctdate(Date acctdate) {
        this.setAcctdate(acctdate);
        return this;
    }

    public void setAcctdate(Date acctdate) {
        this.acctdate = acctdate;
    }

    public Integer getBusinessid() {
        return businessid;
    }

    public RunfastWithdrawrecord withBusinessid(Integer businessid) {
        this.setBusinessid(businessid);
        return this;
    }

    public void setBusinessid(Integer businessid) {
        this.businessid = businessid;
    }

    public String getBusinessname() {
        return businessname;
    }

    public RunfastWithdrawrecord withBusinessname(String businessname) {
        this.setBusinessname(businessname);
        return this;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastWithdrawrecord withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getWid() {
        return wid;
    }

    public RunfastWithdrawrecord withWid(Integer wid) {
        this.setWid(wid);
        return this;
    }

    public void setWid(Integer wid) {
        this.wid = wid;
    }

    public BigDecimal getWithdrawnumber() {
        return withdrawnumber;
    }

    public RunfastWithdrawrecord withWithdrawnumber(BigDecimal withdrawnumber) {
        this.setWithdrawnumber(withdrawnumber);
        return this;
    }

    public void setWithdrawnumber(BigDecimal withdrawnumber) {
        this.withdrawnumber = withdrawnumber;
    }

    public Integer getAgentid() {
        return agentid;
    }

    public RunfastWithdrawrecord withAgentid(Integer agentid) {
        this.setAgentid(agentid);
        return this;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }

    public String getAgentname() {
        return agentname;
    }

    public RunfastWithdrawrecord withAgentname(String agentname) {
        this.setAgentname(agentname);
        return this;
    }

    public void setAgentname(String agentname) {
        this.agentname = agentname == null ? null : agentname.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", acctdate=").append(acctdate);
        sb.append(", businessid=").append(businessid);
        sb.append(", businessname=").append(businessname);
        sb.append(", createtime=").append(createtime);
        sb.append(", wid=").append(wid);
        sb.append(", withdrawnumber=").append(withdrawnumber);
        sb.append(", agentid=").append(agentid);
        sb.append(", agentname=").append(agentname);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}